package com.orange.mybatisplus;

import com.orange.mybatisplus.entity.User;
import com.orange.mybatisplus.mapper.UserMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * Description:测试性能
 */
@SpringBootTest
public class Perform {
    @Autowired
    private UserMapper userMapper;

    //测试 性能分析插件
    @Test
    public void testPerformance() {
        User user = new User();
        user.setName("我是Helen");
        user.setEmail("helen@sina.com");
        user.setAge(18);
        userMapper.insert(user);
    }
}
